package com.youlai.system.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "轮播图新增对象")
public class CarouselInsertDTO {
    @Schema(description = "轮播图图片地址")
    @NotBlank(message = "轮播图图片地址不能为空")
    private String imageUrl;
    @Schema(description = "轮播图标题")
    @NotBlank(message = "轮播图标题不能为空")
    private String title;
    @Schema(description = "轮播图状态")
    @NotNull(message = "轮播图状态不能为空")
    private Integer status;
}
